﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SubPage.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="School.WebPages.List" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register TagPrefix="uc" TagName="SearchBox" Src="~/Controls/Search.ascx" %>
<%@ Register TagPrefix="uc" TagName="MainLeft" Src="~/Controls/MainLeft.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../CSS/list.css" rel="stylesheet" type="text/css" />
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main_container">
        <div class="float_left main_left">
            <uc:MainLeft runat="server" id="mainleft1" />
        </div>      
        <div class="float_right main_right">
            <div class="article_nav link_3">当前位置：<asp:HyperLink ID="hlpmenu" runat="server"></asp:HyperLink> > <asp:HyperLink ID="hlsmenu" runat="server"></asp:HyperLink></div>
            <ul class="article_list">
                <asp:Repeater ID="rep_ArticelItem" runat="server">
                    <ItemTemplate>
                        <li>
                            <div class="float_left"><a href='/Article/Module-<%=parentCategoryStr %>-Category-<%=categoryStr %>-Item-<%#Eval("ArticleID") %>'><%#Eval("Title") %></a></div>
                            <div class="float_right"><%#Eval("UpdateTime","{0:yyyy-MM-dd}") %></div>
                            <div class="clear"></div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div class="pager_container">
                <webdiyer:AspNetPager runat="server" ID="AspNetPager1" PageSize="15" 
                    onpagechanged="AspNetPager1_PageChanged"
                    CustomInfoHTML="每页%PageSize%条，%CurrentPageIndex%/%PageCount%页" 
                    FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
                    ShowCustomInfoSection="Left" SubmitButtonText="Go" TextAfterPageIndexBox="页"  
                    CustomInfoClass="customInfo" CustomInfoSectionWidth="100"
                    TextBeforePageIndexBox="转到">
                </webdiyer:AspNetPager>
            </div>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
</asp:Content>
